import React, { Component } from 'react';
import './index.scss';
import {Link} from 'react-router-dom';
import LoginForm from './LoginForm'
class Login extends Component {
	
  render() {
    return (
      <div className="Login">
      	<header>
  		  <Link to='/'>
           <i className="fa fa-angle-left"></i>
        </Link>
          登录
      	</header>
        <div className="logo">
          <img src={require('../../../static/images/logo.png')}/>
        </div>
      	<LoginForm history={this.props.history}/>
      </div>
    );
  }
}

export default Login;
